updated to debug for testing purposes