changes for spinner