Handling for non-whole numbers
Using helper method on index page