Started adding unix code