add similar to fox example
fix formatting errors