Adding missing this to function call