started sinegen rework with ofset and AC/Dc switch