initial circuit logic
logic works