output with basic program