finally do this sanely