Put most important function at the top