added template for user-error