function enter() {

  	if(msg.value != 5 ether){
		msg.sender.send(msg.value);
		return;
	}
	
	uint idx = contestant.length;
    contestant.length += 1;
    contestant[idx].etherAddress = msg.sender;

	owner.send(msg.value / 10);
	Current_balance = this.balance;
	CurrentTime = now;
 
	if(idx == 0){
	PreviousTime = now;
	return;
	}
	
	if(CurrentTime - PreviousTime > 1 days){

	contestant[idx-1].etherAddress.send(this.balance - 5 ether);
	PreviousTime = CurrentTime;

	} else
		{
		PreviousTime = CurrentTime;
		}

	Current_balance = this.balance;		
	}