Use parameter, add message

Elegant solution?