front end code needs updated to more modern paterns
front end code needs updated to more modern paterns