printing twice