better way to compute display table
change frame rate