^good **** i was going to post something simpler than this but either way reps for your knowledge