added edit stuff