function tables added