first attempt to test all functions