A simplified version of SNNLib