change code style of abstract method