Added loggint to program