removed exec method from api