add api operations again, removed last commit