RD: fixed prototype