replaced fixed console.log statements in barefootFactory with debug-statements