added edit and new func