added stock controls to api