classes now capture inline variables