initial dtype setup