Added prints for testing purposes