Define "not working". Doesn't it compile? Does it generate a run-time error? Does it do something else than you expect? Does it sit on the couch, eating potato chips?
You got to be far more specific. Gods do not exist, so there's noone here who knows what you mean.