Adding functions and Tables