patch and stuff