modified GUI initialization