I’m on a plane at the moment so can’t help, but you still need to provide more information. At a minimum we need an error message but in this situation you probably need to provide more source code as well.
At this point I have no idea what is not working for you.