modified to use express version of app