CHECKING FOR UNCOMMIT