frontend sample file