Added prescaler adjustment