Updated SDL call to include delay arg