adding changing acceleration