Found the buildSelect function, used that instead