add check mode

final commit for spin 1