refactored parents.bii and fixing requirements.bii