created view to display random number