added improved unit purchasing