Api functions added