changing the logic of get bp data