I needed to make some modifications to adapt it to my project.