work towards function tables support