imüroved bcmon api (to return resources)