improved select and added prefix()