standalone. fixes #4