updated for selection (working on update for mobile devices)