There are several solutions to this problem ... this is just one of them.