sample frontend