change order of function beeing called