re-write form render feature