updated mdata and added standalone template