Went a different route and added in an anonymous function. Testing fucntion now.