fixing syntax sin