added preferences correctly!