using vanilla class when running on non-client runtime (aka server)