use vector instead of map for method info