Move misplaced function