set up partial class on body