Add end curly brace to finish expression