a red ball is hanging from a cord