Added function line extraction