fixed indentions and removed var_dump() and echos