added a spinner