added more api stuff