add compform
Merge pull request #3 from garcha/compform

add compform