Extracted input functions