added cors class