package validation