updated with arc and dynamic sweep angle