add generic type for config