#9 method fixed