refactoring memory
memory is able to handle params in condition methods
nil? seems to be an edge case, still fails