removed console logs, whitespace