Apply send_directive() as the professor suggests