new method saves and creates a vote inside a transaction