Find out what replaces .mad() and update this section
Find out what replaces .mad() and update this section