using data-main correctly