manual mode is almost working