changed sigmoid