everything good up to add method, hash is erasing previous entries