improved the method rule