scan function passing in args offset by 1... wtf