feature, added slopes and custom slope functions