Yes! after i added return statement for those functions you suggested, everything's now works like a charm.
Thank you for the quick reply and the huge help! 😄