added comments to register
ccommit