usage example updated; few fixes in snpDevice declaration