Removed unnecessary nesting