health data

new python code with issues fixed