added computer logic