Added structure for returning basic types