Can you share the code snippet. Dont put all the code but the part that is not working