commit 2, add first function