Is this the correct way to implement?

Thanks @marjin , That worked ( My bad I missed that :frowning: ), Can you also please comment on this