Added API functionality

Needs a default