add variable heart rate and locks