change slope to minus