remove a bit of duplication