Added mytable() function