Pulled out spinner contents into separate file