moved optimist dep