got the core API working