commiting doX method