Simplifying code for quicker programming