Had missed & in println function --- this caused compilation errors