Working on a modified c99 shell