implemented heart rate and location reading