added preference utilities