improved code formatting, removed var_dump() line