My own coding of an interface