afterload to local function
eqbar working