Foraging

Added some logging features