examples written in jS not all are mine