First function, unit test and documentation