some styling work and regex fun