Updated code to follow coding style