removed die and var_dump