Factor fibonacci definition into a variable