added print out statements for testing