since the previous approach didn't work