wrote stub main that works