API functionality added