merged with failbot from pi