added edit and read views