Basic logic in place.