wrong order of arguments (or wrong idea of encoding!), fixes #8