Code with control