still sttruggling to get it working properly