[Update]: changed set data method.
[Update]: added strict mode.