added is_mobile and attrs to body of base