Remove var_dump, initialize arrays correctly