added beginnings of gui