added method for pointvalue