Added table output

Added table output simple and complex