Write functions, add commits