gene cycle code