Added dimension selection code