minor refactor to nicer name
fixes #6 thanks for the patch @ffang