now it is possible to add custom function to a table