Added SDL formula