ratio code working, need to plug it into the UI
added tour ratio to UI