snowdrop test code function added