add the p2_1

but only implement the function without buffer,still need get the one
using the hashmap