got sin-wave right