switch to roxygen and add printing hability