modified format for the code