first working implementation
group tests