needed to filter down generic type