content validation based on condition added and only content validation method added