added form macro and updated readme