This was helpful and it gets me within 90% of what I'm trying to do! I have a very similar…