compiling with -Wall
FIX: uninitialized local vars