added valdiation to content