Added a sample of API assignment