Added functionality to display words on a custom interval