encapsulate costs