adding Damians code