changing to sigmoid