added peek method