Some bits for building bots