added comments and defs during meeting with Istvan
added comments and defs during meeting with Istvan