initializing some attributes