shorter main func.
error. so recommitting