added the edit attribute