removed partial code in beats.api