vars into partial