adding code that depends on pertition and signature