added error message printing, multiple lines for action labels
resolved conflict