Added validType