fix typo
fix constants
add array/object implementation