add peek method to queue