allow generic types as collection elements