finished up broken gui reference