fixed indentation issues and unnecessary initialize method