a simple ostruct implement