Provide 2 ways API