more snaplib stuff