close statement added