call and put writing tutorial