more additions to testing functions