put in boundary checking for flags
put in altnames for mobiles
indent code with indent

