gui works somehow.