Mostly implemented BPL but didn't test and fully implemented/tested Modfit.`