moved from prototypal API to function based