some debug stuff for running from eclipse