line selection working