best class setup