put in Dmitri's simple solution