adding & testing selam's code