Fix for array of success functions

Fix for issue #21