added placeholder key validation