Added dynamic spinner