trying to add conditional check for debug env