preparing GUI inputs