moved props to a different class