added basic api that returns a bs string