some minor modifications to improve velocity