Removed extra blank line.
Added apply.