reverted to using jzellner's encurses