debug.  will take out later