changed push methoud