created variables and functions