added spin method