added in autocomplete and c code