Define 'not working'. Does it compile? Are there exceptions? Does it misbehave, and if so, how? Without supplying more details we're left guessing