initial version (console only)