updated for local debug