use else to block out the range checks