added HSAN generation