Put in error checks on lamp number