added oo and played around with docs a little