refactored helper