vik : addin try and catch block