bunch of popup work