pref finished

P.S phase 1 ;)