use delete! instead of pop!