added type for select