trying Doubles but max is wrong still