Stored some testing functions here