I think I might just scrap this part of the function