additional functionality to front end
Update for tests and additional functionality.