use not global variables