Making more progress on the code sending feature