example app for hasp