oved function to see if it helps