changed initialize to static method inside the class
& some linting (trailling whitespaces)