fixed working demo, single int