first sample rest method done