beginning of contract version with syntax case