changed code for Soft Eng