bad generics declaration