updated README (again)
changed functions to static functions