updated Q8 with the correct specs and removed borrowed code