pt.void to generic types