add the lab#4,5 for PAD