added duplication test, parse function dict as static class member