New method and logic added to CWEmpolyee class