Added id to functions, testing, a function