API implementations