Implementing customer API