minor changes cosx