adding new close int method