made some testing functions