sets the variable c and defines value as totalCircumference in a message