Rook Zimbabwe #1 I would say that everything except the functions are placed before the main program loop and the functions are called somewhere near renderworld... I am only guessing.