use better hook
vars?