errors if slot is not a positive whole number