comment for usage of generic types added