procedure "apply", "append" turns to procedure