The profit is realized when the option is closed, not at time of sale. If assigned it reduces your cost basis. Profit or loss comes when you sell...
Separate names with a comma.