Removed unnecessary apply() call