Removed redundant condition from if statement
Updated design documentation