added type and title properties