added verification by size and content