added part of gui