Added `takeFree` function