removed comments and tweak deacceleration