Compound

added compound constructor