extract method
inline method using linq