moves variables to own partial