Added forces code