Added selectcurrent function