added bezier to omega & switcher function