fixes on method definitons