extract intify  to helper for views