Added sines, still not working properly