added multiline statements support