25.07.2013 added validation and a button