added spinner utils