before works, need to keep track of the last name