changed style of code