fixed some validation and added system property example