initializing to a proper starting state