Added formula for accordion.