This is much simpler than what I had before, thanks for the advice.