fully commented accell code with #include headerfile