commented out debugging function