added helper to improve code visualization