write some small examples of  frontend