Bug #2 - variable before function