before removing print statement used fo debug