Still working out bugs with edit view.