code style optimzed for a bit little less ugly.