wrote more views, regex, functions