Changed Main to properly implement Interface methods