removed console logging
removed var for inpu
minor tweaks