Removed the unneccesary second generic type in applyForDB
forgot to rename the variables back to what they were