more flexible Application pipleline with error messages