adjusting tick and display error so each has one responsibility