finish pos base module for implement Dom