Well the last curly brace you have there is an opening. The last one should always be a closed braces. My advice would be to look through the code carefully and make sure that all if and else...