added unpacker to model