first Linux version - buggy but compiles