Moved prototypes to other select functions