Added defualt value for THIN_RATE