implement #toArray
get rid of unnecessary returns
implement #toString