Removed unnecessary whitespaces and fixed formatting