Sample App not working