changes in heart rate counter
deleted draw error exception class
refactor