using messages, better template usage