adding board object
adding some debug printing