Prevents stack level too deep error