Added preference open
Added initial slope one approach code