remove whitespaces and add blank lines to not contradict with PEP8