Optimise by using tuple instead of dict