some tweaks to synaptic example