added functionality

got app to work