importing  global, useful for calling functions inside views