problems with trailing equals