test version with no helper functions