add generic type to Entry