changed feature to set variable