fixed Extends and Implements declaration