minimal changes to gui