Small change in main puts ( <> to () )
Added tomdoc method documentation