Update condition to assign starting code