basic drill logic