Change to gui. Original code commented out.