GUI functions declarating