BADSTATE: working on API