these last two functions were left over, forgot to remove them in the last commit, sorry!