sample code for fishing records app