removing testing functions