Added API functionality

2 new lines