lowercase local functions

Functions starting with a capital are meant for export.