adding functions on file