Helper method and gui enhancement