Used sprintf in validation snippets