more api work done