Implementing more api methods