added support for short arrays closes #64