added poi insertion and fetch