cleaned up extraneous prints, changed System.out.println's to Log.d's