ensures classes passed down to body