comparing parent proc with call