make methods into a map