fixing bug, ordering left to right now fully functional