initializing attributes