implemented new method rPush and tests