added debug-release ifdef