Sloppy coding Nik!!! Functions should be declared static.