takes it into account prefernces and refines search as such
Merge branch 'master' of github.com:blee42/oneday