Adding example of using interfaces