add timestamp and sort, clean up create, add delete