fix method order and docs