updating required class to be global