Started working with preferences