removed unnecessary 0's from the start of range() statements