removed printer() function