addded functionality to app framework