require class before trying to use it ;)