replace "addObject" method to "push" method