removed whitespaces removed small unused code block