Hi! It would be helpful if you can share some code, otherwise, is very hard to help.
Have you seen this repo?