closure & code format