add ptch.c