if your code dont work you can always try other variations.
or check all of your code to see if there is any other errors.
it would also help if you provided more information.
like what your adding code to what its for etc.
normally valid code only fails to work due to a syntax error.