added temp function for cross verification