Removed debugging code to verify still functioning.