Wrong written method fixed