fix: use array annotations

Closes #72