copied Dr. Kochut's definition of interfaces