I doubt you can compress the code in any way. I would just do the code over and over. I know this doesn't help much but I think that you should just take some time to do that. I have been in this same spot before.