External file added for functions