added inherentProperties and a few bug fixes