keep in mind that a function call uses at least 1 cpu cycle