Submethods for api