use table for methods.