Sample code for Frontend Section