Finally made it working.