added example files, added arguments check