adds code for <=