Using simplified main.