Formatting:
```java
}
else {```

should be 

```java```
} else {
```