working on select stuff