added comments to modify.c