I tried having r.feature as a sepreate variable but that didn't help and seemed like extra coding
removed variable trial