Some code shuffling; Use asks instead of ask <$>