Added title validation