testing out extract method