changes format to edit cases minor fixes