now generating some code