added partition support