added pynsq stuff