spinner add, validation added