Got it right but very dirty