Chanched capture to object insteed of string