Implemented Push and Pop methods