removed unneccesary codes to keep sample app as minimal as possible