implement record scratching