Add print words method