almost lost all of this, puzzle arrays now in php