added the beginnings of the reply function, reformatted the views