add type and getters
add getter tests