removed unnecessary environment parameter for procedures