i'm unsure what this method does