make use of common classes in existing code