removed printfs