added var_dump() option for debugging