separate functions from helpers, remove .py