moved the curly brace in the .java file