added decreasing number function