add mandatory field check
bumped the version to 0.2.2