I know there are easier ways but this was fun.