drone logic