added binding and formatting example