now recieves from right and left