change code writing style, delete extra whitespace