Bug fix, add packed method