constructor sample app