added codes, scipts