compiled; fixing startup procedure, very close