fixed incredibly dumb shit that was causing my implementation to break