prep for gui