first sample version based on ST