Regroup functions and put them before window start