a little noodling around with the code