changing head declarations