commented out internal debugging function