Reformatted code

Reformatted code with appropriate spaces