indentation in popup function