Compile 18.0-2 QB Gates implemented (Needs testing)