Revise return value of fun of tables