Fixed the problem with procedure?