added edit not quite working