Extracted functions to target, finds middle