finally fixed range issues, added tuner