adding mas code examples