add dinamic method parsed by data attribute