passing tomasz his special pref object