Changed variables to startnum