# Cosmo SDK Polling app

**URL:** <https://forum.cosmos.network/t/cosmo-sdk-polling-app/4306>\
**Category:** Tendermint\
**Created:** [January 17, 2021, 12:18pm UTC](https://forum.cosmos.network/t/cosmo-sdk-polling-app/4306 "2021-01-17T12:18:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![victory015](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@victory015](https://forum.cosmos.network/u/victory015)\
**Post date:** [January 17, 2021, 12:18pm UTC](https://forum.cosmos.network/t/cosmo-sdk-polling-app/4306/1 "2021-01-17T12:18:36Z")

</div>

As described in the tutorial:  
[https://tutorials.cosmos.network/voter/#x-voter-keeper-vote-go](https://tutorials.cosmos.network/voter/#x-voter-keeper-vote-go)

Do i have to create a new file for the file mentioned in the tutorial?  
x/voter/keeper/vote.go

Why it only contains one line?  
key := []byte(types.VotePrefix + vote.PollID + “-” + string(vote.Creator))

After i add the file vote.go , the Polling app cannot be built.

---

<div class="post-metadata">

**Author:** ![victory015](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@victory015](https://forum.cosmos.network/u/victory015)\
**Post date:** [January 17, 2021, 12:47pm UTC](https://forum.cosmos.network/t/cosmo-sdk-polling-app/4306/2 "2021-01-17T12:47:29Z")

</div>

Sorry, have to run the command to create vote.go  
starport type vote pollID value
