Made Robs code alittle easier to read