On the performance and application of CrN coating