Re-positioning the code for more effective results