added prettier type printing