changed type to lowercase