add POD and cleanup.