added beginnings of modal