added title, reset function