sine wave much more optimized :)