added entity and http