Added marketValue function