Completed AND & OR command