Working sample as intended