api improvements
it doesnt work, but api is more or less stable now
it works (seemingly...)