New spot instance code