There is a much better way to do this. Try it again.