reducing the amount of code in ram to free up space