add optimist dependencies