using x-ns; added ucfirst to types