Check that functions return