- added repeat method
 - minor cosmetics