currentSelected move to h file