GUI now calls a framework funcion