changes made during api implementation