started working on preferences