second method changed