renamed header file and prettified its code