Changed so that dont need to import and call function