update documentation and take out multiple return stmts
update documentation and take out multiple return stmts

warriorframework/warriorframework,warriorframework/warriorframework,warriorframework/warriorframework,warriorframework/warriorframework