edited for null exceptions for existing vote