Add object programing sample