defined var's and functions/