variables and methods are defined