almost got startup.cc working