Range function is fucking working