inline documentation

added some inline documentation