Extracted common methods