better integration with helper function