Incorrect order of functions.