edited codes/ added codes
added interface

added interface