simplyfied error triggereing