Simplified open and close functions