Fixed function name

fixes issue #1