minor changes
added contract