current task: populate the gates naively