added functioning healtbar