added spin command