(pseudo-) working sample with API draft