C version early stages