the logic design