Got rid of alert, editing data