TODO: restructuralize: only config is different for different asms