Debug: Function5 was incorrectly defined