repalce the Push with the laste logic