add check to make sure token does not exceed boundry