pilot/release functions hacked in