new main + detection angle + rotation a debuge....