Started implementation of garray as return value