Chapter2-4 with new pres layer