gui convenience function