I needed this to work quicker, so I finally fixed it