Here is my code :

> 
> 
> ```
> pragma solidity ^0.4.14;
> 
> 
> contract AdminSetUp {   // contract for adding new admin
> address private creator = msg.sender;
> address[] public adminlist;
> uint public count;
> 
> 
> modifier onlyCreator {  // only creator of contract is allowed to add admin
>     if (msg.sender == creator)
>     _;
> }
> 
> function addMember(address _newadmin) public onlyCreator returns (uint) {
>     adminlist.push(_newadmin);
>     count = adminlist.length;
>     return count;
>  }
> 
> 
> 
> }
> 
> ```
> 
> 

this code allows to add admin those are already there. How to avoid this?