added "insert" method