Add function to use procedure.