why the hell was i using apply