fixed the interface class