Added proper resume