added beginnings of editable functionality