adding validation check for package name