sic generalfunction for testing
GUI function for testing